#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include"head.h"
int main()
{
	int i = 0;
	scanf("%d", &i);
	printf("%d\n",find(i));
	return 0;
}
